/* === BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fb;
  transition: background 0.3s, color 0.3s;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* === DARK MODE === */
body.dark {
  background: #1e1e1e;
  color: #f1f1f1;
}

body.dark header {
  background-color: #111;
  border-bottom: 1px solid #333;
}

body.dark .floating-button,
body.dark .contact-methods {
  background: #2b2b2b;
}

body.dark table {
  background-color: #333;
  color: #fff;
}

/* === HEADER === */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#header-logo {
  height: 40px;
  cursor: pointer;
}

.logo-title span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #004aad;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links ul li a {
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
}

.nav-links ul li a:hover {
  background: #004aad;
  color: #fff;
  border-radius: 6px;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px;
  transition: all 0.3s;
}

.nav-links ul.open {
  display: block;
}

/* === THEME TOGGLE === */
.toggle-theme {
  cursor: pointer;
  font-size: 1.2rem;
  margin-left: 20px;
}

.toggle-theme i {
  color: #004aad;
}

/* === MAIN CONTENT === */
.container {
  max-width: 1100px;
  margin: 120px auto 60px auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #004aad;
  position: relative;
}

.section h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #004aad;
  position: absolute;
  bottom: -10px;
  left: 0;
}

/* === LISTS === */
ul.services-list li {
  margin: 10px 0;
  font-size: 1.1rem;
}

/* === TABLE === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

table th,
table td {
  padding: 14px 20px;
  text-align: left;
}

table thead {
  background: #004aad;
  color: #fff;
}

table tbody tr:nth-child(even) {
  background: #f0f4ff;
}

/* === FOOTER === */
footer {
  background: #004aad;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

footer a {
  color: #fff;
  font-weight: bold;
}

/* === FLOATING CONTACT BUTTON === */
.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #004aad;
  color: white;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s;
}

.floating-button:hover {
  background: #00307a;
  transform: scale(1.1);
}

/* === CONTACT METHODS PANEL === */
.contact-methods {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: none;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.contact-methods.show {
  display: flex;
  animation: fadeInUp 0.4s ease-in-out;
}

.contact-methods a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #004aad;
  font-weight: 500;
  transition: transform 0.3s;
}

.contact-methods a:hover {
  transform: translateX(5px);
}

.contact-methods img {
  width: 24px;
  height: 24px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  .nav-links ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 30px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
  }

  .hamburger {
    display: flex;
  }
}
